#ifndef _LED_RESOURCE_H
#define _LED_RESOURCE_H

/* GPIO3_0 */
/* bit[31:16] = group */ //用来表示组
/* bit[15:0]  = which pin */ //表示引脚
#define GROUP(x) (x>>16)
#define PIN(x)   (x&0xFFFF)
#define GROUP_PIN(g,p) ((g<<16) | (p))//第g组第p个引脚

struct led_resource {
	int pin; //含有组和引脚详细
};

struct led_resource *get_led_resouce(void);

#endif